//
//  FGMessageConvert.h
//  FGChatKit-UI
//
//  Created by feige on 2023/5/8.
//

#import <Foundation/Foundation.h>
#import <FGChatUI/FGMessageCellData.h>
#import <FGChatKit/FGChatKit.h>

@interface FGMessageConvert : NSObject

/**
 * 消息转cellData
 */
+ (FGMessageCellData *)cellDataForMessage:(FGChatMessageModel *)model;

/**
 * cellData转消息
 */
+ (FGChatMessageModel *)messageForCellData:(FGMessageCellData *)cellData
                                      room:(NSString *)room
                                 websiteId:(NSNumber *)websiteId;

@end
